#ifndef COBJECT_H_
#define COBJECT_H_

#include <string>

typedef unsigned int TIndex;

/**
 * CObject - base ASIDE object (father of all ASIDE classes)
 * @author Michal Rost
 * @date 10.04.2007
 */
class CObject {
public:
  CObject() {
    init();
  }
  virtual ~CObject() {
    free();
  }
  static std::string getClassName() {
    return "CObject";
  }
  virtual std::string toString() const {
    return getClassName();
  }
protected:
  virtual void init() {
  }
  virtual void free() {
  }
};

#endif
